package com.fh.service.impl;

import com.fh.mapper.TUserWalletMapper;
import com.fh.service.UserWalletService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.math.BigDecimal;

@Component
public class UserWalletServiceImpl implements UserWalletService {
    @Resource
    private TUserWalletMapper tUserWalletMapper;
    public BigDecimal queryUserAmount(Long userId) {

        return tUserWalletMapper.queryUserAmount(userId);
    }
}
